package com.foruo.sc.upload.file.client.entity;

import java.util.Date;

/**
 * 附件实体类
 * @author GaoYuan
 * @date 2018/4/10 下午12:40
 */
public class FileEntity {

    /** 存储名称 */
    private String urlname;
    /** 存储路径 */
    private String url;
    /** 文件大小 */
    private String size;
    /** 文件类型 */
    private String type;
    /** 文件后缀 */
    private String suffix;
    /** 图片宽度（图片时有效） */
    private String width;
    /** 图片高度（图片时有效） */
    private String height;
    /** 创建时间 */
    private Date createDate;

    public String getUrlname() {
        return urlname;
    }

    public void setUrlname(String urlname) {
        this.urlname = urlname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "FileEntity{" +
                "urlname='" + urlname + '\'' +
                ", url='" + url + '\'' +
                ", size='" + size + '\'' +
                ", type='" + type + '\'' +
                ", suffix='" + suffix + '\'' +
                ", width='" + width + '\'' +
                ", height='" + height + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
